Assign User Permissions

Description

The assign-permission method is used to assign permissions to a user.

URL https://publish.broadsign.com/api/user/<user-id>/assign-permission/
Method PUT
Header Content-Type: application/json

Sample Request

Use the permission strings listed in Users and Groups Permissions.

Copy
{
  "permissions":["upload_image","upload_video"]
}

Sample Response

Status: 200 (OK)

Copy
{
  "status": "Permissions added successfully"
}

Error Response Status Code

Status: 400 (BAD REQUEST)

Copy
{
  "status": "Unable to add given permission"
}