Update a stack role mapping
POST https://{{base_url}}/v3/organizations/{{organization_uid}}/teams/{{team_uid}}/stack_role_mappings/{{stack_api_key}}
The Update a stack role mapping request allows you to update the stack roles for a specific stack in your organization. You need to pass the role UIDs in the request body as follows:
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 Update a stack role mapping API Reference document
Request Body
{"roles"=>["blt**************48", "blt**************f4"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
authtoken | string | Enter your authtoken. | |
Content-Type | string | Enter "application/json" to pass a request body. |