All URIs are relative to https://sandbox-iam.us.hypto.com/v1
Method | HTTP request | Description |
---|---|---|
attachPolicies | PATCH /organizations/{organization_id}/users/{user_name}/attach_policies | Attach policies to user |
detachPolicies | PATCH /organizations/{organization_id}/users/{user_name}/detach_policies | Detach policies from user |
getUserPolicies | GET /organizations/{organization_id}/users/{user_name}/policies | List all policies associated with user |
BaseSuccessResponse attachPolicies(user_name, organization_id, PolicyAssociationRequest)
Attach policies to user
Attach policies to user
Name | Type | Description | Notes |
---|---|---|---|
user_name | String | [default to null] | |
organization_id | String | [default to null] | |
PolicyAssociationRequest | PolicyAssociationRequest | Payload to attach / detach a policy to a user / resource |
- Content-Type: application/json
- Accept: application/json
BaseSuccessResponse detachPolicies(user_name, organization_id, PolicyAssociationRequest)
Detach policies from user
Detach policies from user
Name | Type | Description | Notes |
---|---|---|---|
user_name | String | [default to null] | |
organization_id | String | [default to null] | |
PolicyAssociationRequest | PolicyAssociationRequest | Payload to attach / detach a policy to a user / resource |
- Content-Type: application/json
- Accept: application/json
PolicyPaginatedResponse getUserPolicies(user_name, organization_id, nextToken, pageSize, sortOrder)
List all policies associated with user
List all policies associated with user
Name | Type | Description | Notes |
---|---|---|---|
user_name | String | [default to null] | |
organization_id | String | [default to null] | |
nextToken | String | [optional] [default to null] | |
pageSize | String | [optional] [default to null] | |
sortOrder | String | [optional] [default to null] [enum: asc, desc] |
- Content-Type: Not defined
- Accept: application/json