Manage Scripts

Creates and deletes a script and gets a list of scripts for a category.

delete
/api/v2/tenants/{tenantId}/rba/categories/{categoryId}/scripts

Partners can delete client or partner scripts. A client can only delete client-specific scripts.

Path Parameters

  • tenantIdstringrequired

    Describes the client ID or msp ID of the tenant. See "Getting Started" guide

  • categoryIdstringrequired

    Defined category id

get
/api/v2/tenants/{tenantId}/rba/categories/{categoryId}/scripts

A list of scripts is retrieved within a category.

Path Parameters

  • tenantIdstringrequired

    Describes the client ID or msp ID of the tenant. See "Getting Started" guide

  • categoryIdstringrequired

    Defined category id

00
post
/api/v2/tenants/{tenantId}/rba/categories/{categoryId}/scripts

When creating a script:

  • Attachment files must be converted to byte stream and base64-encoded. Always include a name and file.
  • To get the list of available categories, invoke the Get Categories endpoint.

Path Parameters

  • tenantIdstringrequired

    Describes the client ID or msp ID of the tenant. See "Getting Started" guide

  • categoryIdstringrequired

    Defined category id

00
00