Teams
Link the given team to an environment with a specific role
POST
environment_id*integerThe ID of the environment.
Range
1 <= valueteam_id*integerThe ID of the team.
Range
1 <= valueAccept*stringapplication/json
Content-Type*stringapplication/json
A JSON object containing the resource data
application/json- body
role_id*integerThe role's ID to link to the team.
No Content
curl -X POST 'https://api.devopness.com/environments/123/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