View a markdown version of this page

UntagWorkloadIdentityTemplate - AWS Identity and Access Management

UntagWorkloadIdentityTemplate

Removes the specified tag keys from the workload identity template. In a valid request, IAM ignores keys that are not attached to the resource. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

TagKeys.member.N

A list of key names as a simple array of strings. The tags with matching keys are removed from the specified workload identity template. No member can be null.

Type: Array of strings

Array Members: Maximum number of 50 items.

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]+

Required: Yes

WorkloadIdentityTemplateArn

The Amazon Resource Name (ARN) of the workload identity template from which you want to remove tags.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Error Types.

ConcurrentModification

The request was rejected because multiple requests to change this object were submitted simultaneously. Wait a few minutes and submit your request again.

HTTP Status Code: 409

InvalidInput

The request was rejected because an invalid or out-of-range value was supplied for an input parameter.

HTTP Status Code: 400

NoSuchEntity

The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.

HTTP Status Code: 404

ServiceFailure

The request processing has failed because of an unknown error, exception or failure.

HTTP Status Code: 500

Examples

Example

This example illustrates one usage of UntagWorkloadIdentityTemplate.

Sample Request

https://iam.amazonaws.com/?Action=UntagWorkloadIdentityTemplate &WorkloadIdentityTemplateArn=arn:aws:iam::111122223333:workload-identity-template/PaymentsFleet &TagKeys.member.1=Dept &Version=2010-05-08 &AUTHPARAMS

Sample Response

<UntagWorkloadIdentityTemplateResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <ResponseMetadata> <RequestId>EXAMPLE8-90ab-cdef-fedc-ba987EXAMPLE</RequestId> </ResponseMetadata> </UntagWorkloadIdentityTemplateResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: