Create a Team for a Role
post
/api/v2/roles/{id}/teams/
Make a POST request to this resource with the following team fields to create a new team associated with this role.
name: Name of this team. (string, required)description: Optional description of this team. (string, default="")organization: (id, required)
Add Teams for a Role:
Make a POST request to this resource with only an id field to associate an
existing team with this role.
Remove Teams from this Role:
Make a POST request to this resource with id and disassociate fields to
remove the team from this role
without deleting the team.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : Team
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
organization(required):
integer
Title:
Organization - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Response
Supported Media Types
- application/json
201 Response
Root Schema : Team
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
organization(required):
integer
Title:
Organization - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true