{ "opencollection": "1.0.0", "info": { "name": "AWS IoT Accept Certificate Transfer Target Policies API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Target Policies", "type": "folder" }, "items": [ { "info": { "name": "Amazon IoT Device Defender Detach Policy", "type": "http" }, "http": { "method": "POST", "url": "http://iot.{region}.amazonaws.com/target-policies/:policyName", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The policy to detach." } ], "body": { "type": "json", "data": "{}" } }, "docs": "
Detaches a policy from the specified target.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DetachPolicy action.
" }, { "info": { "name": "Amazon IoT Device Defender Attach Policy", "type": "http" }, "http": { "method": "PUT", "url": "http://iot.{region}.amazonaws.com/target-policies/:policyName", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "policyName", "value": "", "type": "path", "description": "The name of the policy to attach." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
" } ] } ], "bundled": true }