Roles define permissions for the security services and can be associated with a user or API key
List roles
Lists roles within an account
query Parameters
The response body contains the roles.
Something about your request didn't quite make sense. The error message should help you figure out what went wrong.
Unauthorized
You tried to do something that you're not allowed to do. Check your privileges to see what you're actually allowed to do. This could also mean that your token has expired.
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Something has gone terribly wrong. Sorry! The error message may help you figure out what went wrong, but it's unlikely that you'll be able to do anything about it unless you're the server administrator. It's possible that trying again will help, but it's more likely that you're out of luck for the moment.
The service is temporarily unavailable, likely due to maintenance. It should be available soon, check the Retry-After
header for an indication of when you might be able to try again.
- 200
- 400
- 401
- 500
- 503
{- "next": "dGhpcyB2YWx1ZSBpcyBvcGFxdWUsIGRlY29kaW5nIGl0IHdvbid0IGJlIHVzZWZ1bAo=",
- "roles": [
- {
- "id": "full-access",
- "name": "Full Access",
- "description": "Full access to all security services and account management",
- "serviceRoleURNs": [
- "urn:cloudone:application:us-1:012345678912:role/full-access"
], - "created": "2020-06-21T09:01:12Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "urn": "urn:cloudone:identity:ca-1:012345678912:role/full-access"
}
]
}
Create a role
Request Body schema: application/json
The role has been created.
Something about your request didn't quite make sense. The error message should help you figure out what went wrong.
Unauthorized
You tried to do something that you're not allowed to do. Check your privileges to see what you're actually allowed to do. This could also mean that your token has expired.
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Something has gone terribly wrong. Sorry! The error message may help you figure out what went wrong, but it's unlikely that you'll be able to do anything about it unless you're the server administrator. It's possible that trying again will help, but it's more likely that you're out of luck for the moment.
The service is temporarily unavailable, likely due to maintenance. It should be available soon, check the Retry-After
header for an indication of when you might be able to try again.
- Payload
{- "id": "full-access",
- "name": "Full Access",
- "description": "Full access to all security services and account management",
- "serviceRoleURNs": [
- "urn:cloudone:application:us-1:012345678912:role/full-access"
]
}
- 201
- 400
- 401
- 500
- 503
{- "id": "full-access",
- "name": "Full Access",
- "description": "Full access to all security services and account management",
- "serviceRoleURNs": [
- "urn:cloudone:application:us-1:012345678912:role/full-access"
], - "created": "2020-06-21T09:01:12Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "urn": "urn:cloudone:identity:ca-1:012345678912:role/full-access"
}
Describe a role
The response body contains the role details.
Something about your request didn't quite make sense. The error message should help you figure out what went wrong.
Unauthorized
You tried to do something that you're not allowed to do. Check your privileges to see what you're actually allowed to do. This could also mean that your token has expired.
The resource you were looking for doesn't exist.
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Something has gone terribly wrong. Sorry! The error message may help you figure out what went wrong, but it's unlikely that you'll be able to do anything about it unless you're the server administrator. It's possible that trying again will help, but it's more likely that you're out of luck for the moment.
The service is temporarily unavailable, likely due to maintenance. It should be available soon, check the Retry-After
header for an indication of when you might be able to try again.
- 200
- 400
- 401
- 404
- 500
- 503
{- "id": "full-access",
- "name": "Full Access",
- "description": "Full access to all security services and account management",
- "serviceRoleURNs": [
- "urn:cloudone:application:us-1:012345678912:role/full-access"
], - "created": "2020-06-21T09:01:12Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "urn": "urn:cloudone:identity:ca-1:012345678912:role/full-access"
}
Modify a role
Request Body schema: application/json
The response body contains the role details.
Something about your request didn't quite make sense. The error message should help you figure out what went wrong.
Unauthorized
You tried to do something that you're not allowed to do. Check your privileges to see what you're actually allowed to do. This could also mean that your token has expired.
The resource you were looking for doesn't exist.
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Something has gone terribly wrong. Sorry! The error message may help you figure out what went wrong, but it's unlikely that you'll be able to do anything about it unless you're the server administrator. It's possible that trying again will help, but it's more likely that you're out of luck for the moment.
The service is temporarily unavailable, likely due to maintenance. It should be available soon, check the Retry-After
header for an indication of when you might be able to try again.
- Payload
{- "id": "full-access",
- "name": "Full Access",
- "description": "Full access to all security services and account management",
- "serviceRoleURNs": [
- "urn:cloudone:application:us-1:012345678912:role/full-access"
]
}
- 200
- 400
- 401
- 404
- 500
- 503
{- "id": "full-access",
- "name": "Full Access",
- "description": "Full access to all security services and account management",
- "serviceRoleURNs": [
- "urn:cloudone:application:us-1:012345678912:role/full-access"
], - "created": "2020-06-21T09:01:12Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "urn": "urn:cloudone:identity:ca-1:012345678912:role/full-access"
}
Delete a role
The Role has been deleted.
Something about your request didn't quite make sense. The error message should help you figure out what went wrong.
Unauthorized
You tried to do something that you're not allowed to do. Check your privileges to see what you're actually allowed to do. This could also mean that your token has expired.
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Something has gone terribly wrong. Sorry! The error message may help you figure out what went wrong, but it's unlikely that you'll be able to do anything about it unless you're the server administrator. It's possible that trying again will help, but it's more likely that you're out of luck for the moment.
The service is temporarily unavailable, likely due to maintenance. It should be available soon, check the Retry-After
header for an indication of when you might be able to try again.
- 400
- 401
- 500
- 503
{- "message": "Something went wrong."
}