Add a stack role mapping
POST https://{{base_url}}/v3/organizations/{{organization_uid}}/teams/{{team_uid}}/stack_role_mappings
The Add a stack role mapping request allows you to associate users from a specified team with the available stacks in your organization.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Add a stack role mapping API Reference document
Request Body
{"stackApiKey"=>"blt**************74", "roles"=>["blt**************f6", "blt**************37"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
authtoken | string | Enter your authtoken. | |
Content-Type | string | Enter "application/json" to pass a request body. |