IAM API (v1.0)
Managing control panel users, service users, user groups and S3 keys
UnassignRoles
Authorizations:
X-Auth-Token
path Parameters
group_id required | string group id |
Request Body schema: application/jsonrequired
Payload
Array of objects (models.RoleRequest) | |||||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
]
}
AssignRoles
Authorizations:
X-Auth-Token
path Parameters
group_id required | string group id |
Request Body schema: application/jsonrequired
Payload
Array of objects (models.RoleRequest) | |||||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
]
}
Add user to account
Authorizations:
X-Auth-Token
Request Body schema: application/jsonrequired
Payload
auth_type | string (models.UserAuthType) Enum: "local" "federated" |
string | |
object (models.FederationInfo) | |
group_ids | Array of strings |
Array of objects (models.RoleRequest) | |
subscriptions | Array of strings |
subscriptions_only | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "auth_type": "local",
- "email": "string",
- "federation": {
- "external_id": "string",
- "id": "string"
}, - "group_ids": [
- "string"
], - "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
], - "subscriptions": [
- "string"
], - "subscriptions_only": true
}
Access
Authorizations:
X-Auth-Token
path Parameters
user_id required | string user id |
Request Body schema: application/jsonrequired
Payload
group_ids | Array of strings |
Array of objects (models.RoleRequest) |
Responses
Request samples
- Payload
Content type
application/json
{- "group_ids": [
- "string"
], - "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
]
}
UnassignRoles
Authorizations:
X-Auth-Token
path Parameters
user_id required | string user id |
Request Body schema: application/jsonrequired
Payload
Array of objects (models.RoleRequest) | |||||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
]
}
AssignRoles
Authorizations:
X-Auth-Token
path Parameters
user_id required | string user id |
Request Body schema: application/jsonrequired
Payload
Array of objects (models.RoleRequest) | |||||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
]
}
Create service user
Authorizations:
X-Auth-Token
Request Body schema: application/jsonrequired
Payload
enabled | boolean |
group_ids | Array of strings |
name | string |
password | string |
Array of objects (models.RoleRequest) |
Responses
Request samples
- Payload
Content type
application/json
{- "enabled": true,
- "group_ids": [
- "string"
], - "name": "string",
- "password": "string",
- "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
]
}
Update info about user
Authorizations:
X-Auth-Token
path Parameters
user_id required | string user id |
Request Body schema: application/jsonrequired
Payload
enabled | boolean |
name | string |
password | string |
Responses
Request samples
- Payload
Content type
application/json
{- "enabled": true,
- "name": "string",
- "password": "string"
}
UnassignRoles
Authorizations:
X-Auth-Token
path Parameters
user_id required | string user id |
Request Body schema: application/jsonrequired
Payload
Array of objects (models.RoleRequest) | |||||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
]
}
AssignRoles
Authorizations:
X-Auth-Token
path Parameters
user_id required | string user id |
Request Body schema: application/jsonrequired
Payload
Array of objects (models.RoleRequest) | |||||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "roles": [
- {
- "project_id": "string",
- "role_name": "string",
- "scope": "string"
}
]
}
Create S3 credential for the specified user
Authorizations:
X-Auth-Token
path Parameters
user_id required | string user id |
Request Body schema: application/jsonrequired
Payload
name | string |
project_id | string |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "cred_name",
- "project_id": "f9a2a75fd6a74d658c211ced448dd149"
}