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

KeyDatatypeRequiredDescription
authtokenstringEnter your authtoken.
Content-TypestringEnter "application/json" to pass a request body.