v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Lists the policies attached to the specified thing group.

Requires permission to access the ListAttachedPolicies action.

post/attached-policies/{target}

Path parameters

targetstring required

The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:<i>region</i>:<i>accountId</i>:cert/<i>certificateId</i>), thingGroupArn (arn:aws:iot:<i>region</i>:<i>accountId</i>:thinggroup/<i>groupName</i>) and CognitoId (<i>region</i>:<i>id</i>).

Query parameters

recursiveboolean

When true, recursively list attached policies.

markerstring

The token to retrieve the next set of results.

pageSizeinteger

The maximum number of results to be returned per request.

Response

Success

nextMarkerstring

The token to retrieve the next set of results, or null if there are no more results.