Assign Project Permissions
This API allows you to assign project permissions based on your requirement.
Endpoint
Headers
The JWT Access token should be passed in the authorization header for all APIs.
Header | Value |
---|---|
Authorization | JWT token |
Request Body
{
"admin": ["adminuser@gmail.com"],
"publisher": ["user1@gmail.com", "user2@gmail.com", "user3@gmail.com"],
"uploader": ["uploader1@gmail.com", "uploader2@gmail.com"],
"analyst": ["analyst1@gmail.com"]
}
Parameter | Type | Description |
---|---|---|
admin |
String | Users can be granted admin permissions for a project, allowing them to edit the project, publish videos, upload videos, edit videos, delete videos, and manage permissions for other users on the project. |
publisher |
String | Users can be granted publisher permissions for a project, enabling them to publish videos from that project. |
uploader |
String | Users can be granted uploader permissions for a project, allowing them to upload videos to that project. |
analyst |
String | Users can be granted analyst permissions for a project, allowing them to access and review analytics data for that project. |
Response Body
Field | Type | Description |
---|---|---|
status_code |
String | Indee provided status code. |
status_message |
String | The message associated with the status code. |
ext_project_id |
String | A customer provided unique ID for the project. |
Error and Success Codes
For error codes and success codes, see Common Error Codes section.