Teams
Team objects are used to group users into teams.
The Team object
Attribute | Type | Description |
id | string | Unique team identifier |
name | string | Team name |
created_at | string | Time when the team was created. RFC 3339 format. |
Example:
Create Team
POST
https://api.simpleokr.com/v1/teams
Create a new Team object.
Request Body
Name | Type | Description |
---|---|---|
name | string | Name of the team |
List Teams
GET
https://api.simpleokr.com/v1/teams
Returns a list of your teams.
Query Parameters
Name | Type | Description |
---|---|---|
page_token | string | Page number |
Retrieve Team
GET
https://api.simpleokr.com/v1/teams/:id
Retrieve details about the existing Team. Supply the unique Team ID from either a team creation response or team list response.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | Team ID |
Update Team
POST
https://api.simpleokr.com/v1/teams/:id
Update details of an existing team
Path Parameters
Name | Type | Description |
---|---|---|
id | string | Team ID |
Request Body
Name | Type | Description |
---|---|---|
name | string | New team name |
Delete Team
DELETE
https://api.simpleokr.com/v1/teams/:id
Delete an existing Team.
Last updated