Create a new group
Code | Description |
---|---|
400 | Bad Request: body has wrong syntax or unable to handle request |
401 | Unauthorized: auth_token omitted or authentication failed |
404 | Not Found: The requested resource could not be found |
406 | Not Acceptable: Accept or Content-Type headers must be application/json, text/csv or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
403 | Forbidden: This action cannot be performed |
422 | Unprocessable Entity: body has wrong attributes |
REQUEST Content-Type: application/json { "name": "My New Group" } RESPONSE 201 (Created) { "name": "My New Group", "role_attributes": [ { "id": 110, "name": "Admin", "auth_token": "<MY_AUTH_TOKEN>", "can_view_billing": true, "can_edit_players": true, "can_invite_users": true, "can_invite_child_account_users": true, "can_create_child_accounts": true }, { "id": 111, "name": "User", "auth_token": "<MY_AUTH_TOKEN>", "can_view_billing": false, "can_edit_players": true, "can_invite_users": false, "can_invite_child_account_users": true, "can_create_child_accounts": true } ], "id": 28, "created_at": 1392405501, "updated_at": 1392405501, "embed_domain": "http://embed.vidyard.com", "secure_embed_domain": "https://secure.vidyard.com", "playback_domain": "//play.vidyard.com" }
Param name | Description |
---|---|
auth_token optional |
API token needed to authorize requests Validations:
|
name required |
The name of the group Validations:
|