Associate Roles With This Team
post
/api/v2/teams/{id}/roles/
Make a POST request to this resource to add or remove a role from this team. The following fields may be modified:
id
: The Role ID to add to the team. (int, required)disassociate
: Provide if you want to remove the role. (any value, optional)
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : RoleSerializerWithParentAccess
Type:
Show Source
object
-
description:
string
Title:
Description
Read Only:true
-
id:
integer
Title:
ID
Read Only:true
-
name:
string
Title:
Name
Read Only:true
- related: string
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true
Response
Supported Media Types
- application/json
201 Response
Root Schema : RoleSerializerWithParentAccess
Type:
Show Source
object
-
description:
string
Title:
Description
Read Only:true
-
id:
integer
Title:
ID
Read Only:true
-
name:
string
Title:
Name
Read Only:true
- related: string
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true