Skip to Content
Teams

Link the given team to an organization with a specific role

POST
/organizations/{organization_id}/teams/{team_id}/link

Path Parameters

organization_id*string

The ID of the organization.

team_id*integer

The ID of the team.

Range1 <= value

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Request Body

A JSON object containing the resource data

application/json
  1. body
role_id*integer

The role's ID to link to the team.

Response Body

No Content

Example Request
curl -X POST 'https://api.devopness.com/organizations/2ab973e1-9528-4d67-aff0-209d74975830/teams/123/link' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json' \  -H 'Content-Type: application/json' \  -d '{  "role_id": 430}'
Example Response
Empty