List API keys
Lists API keys within an account
query Parameters
The response body contains the API keys.
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=",
- "apikeys": [
- {
- "id": "1q7OVkm2HNIkTWNsFxxUcjIlQnP",
- "alias": "ABCD key",
- "description": "Description of ABCD key",
- "secret": "4wWPfkmv4vCHNm1iCYMKidbKfGi9mSfPkYWBEHG8AmQ3hYo2ut82Ypmrsj7sVUWWEv",
- "roleID": "full-access",
- "locale": "en",
- "timezone": "America/Toronto",
- "allowedIPs": [
- "192.168.0.1"
], - "allowedCIDRs": [
- "192.168.0.0/16"
], - "created": "2020-07-10T07:02:10Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "lastActivity": "2020-08-10T07:02:10Z",
- "enabled": true,
- "urn": "urn:cloudone:identity:ca-1:012345678912:apikey/3FDCA1955AE7EB167B25D7D90AC02B9"
}
]
}
Create an API key
Request Body schema: application/json
The API key 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
{- "alias": "ABCD key",
- "description": "Description of ABCD key",
- "roleID": "full-access",
- "locale": "en",
- "timezone": "America/Toronto",
- "allowedIPs": [
- "192.168.0.1"
], - "allowedCIDRs": [
- "192.168.0.0/16"
], - "enabled": true
}
- 201
- 400
- 401
- 500
- 503
[- {
- "id": "1q7OVkm2HNIkTWNsFxxUcjIlQnP",
- "alias": "ABCD key",
- "description": "Description of ABCD key",
- "secret": "4wWPfkmv4vCHNm1iCYMKidbKfGi9mSfPkYWBEHG8AmQ3hYo2ut82Ypmrsj7sVUWWEv",
- "roleID": "full-access",
- "locale": "en",
- "timezone": "America/Toronto",
- "allowedIPs": [
- "192.168.0.1"
], - "allowedCIDRs": [
- "192.168.0.0/16"
], - "created": "2020-07-10T07:02:10Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "lastActivity": "2020-08-10T07:02:10Z",
- "enabled": true,
- "urn": "urn:cloudone:identity:ca-1:012345678912:apikey/3FDCA1955AE7EB167B25D7D90AC02B9"
}
]
Describe an API key
The response body contains the API key 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": "1q7OVkm2HNIkTWNsFxxUcjIlQnP",
- "alias": "ABCD key",
- "description": "Description of ABCD key",
- "secret": "4wWPfkmv4vCHNm1iCYMKidbKfGi9mSfPkYWBEHG8AmQ3hYo2ut82Ypmrsj7sVUWWEv",
- "roleID": "full-access",
- "locale": "en",
- "timezone": "America/Toronto",
- "allowedIPs": [
- "192.168.0.1"
], - "allowedCIDRs": [
- "192.168.0.0/16"
], - "created": "2020-07-10T07:02:10Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "lastActivity": "2020-08-10T07:02:10Z",
- "enabled": true,
- "urn": "urn:cloudone:identity:ca-1:012345678912:apikey/3FDCA1955AE7EB167B25D7D90AC02B9"
}
]
Modify an API key
path Parameters
Request Body schema: application/json
The response body contains the API key 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
{- "alias": "ABCD key",
- "description": "Description of ABCD key",
- "roleID": "full-access",
- "locale": "en",
- "timezone": "America/Toronto",
- "allowedIPs": [
- "192.168.0.1"
], - "allowedCIDRs": [
- "192.168.0.0/16"
], - "enabled": true
}
- 200
- 400
- 401
- 404
- 500
- 503
{- "id": "1q7OVkm2HNIkTWNsFxxUcjIlQnP",
- "alias": "ABCD key",
- "description": "Description of ABCD key",
- "secret": "4wWPfkmv4vCHNm1iCYMKidbKfGi9mSfPkYWBEHG8AmQ3hYo2ut82Ypmrsj7sVUWWEv",
- "roleID": "full-access",
- "locale": "en",
- "timezone": "America/Toronto",
- "allowedIPs": [
- "192.168.0.1"
], - "allowedCIDRs": [
- "192.168.0.0/16"
], - "created": "2020-07-10T07:02:10Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "lastActivity": "2020-08-10T07:02:10Z",
- "enabled": true,
- "urn": "urn:cloudone:identity:ca-1:012345678912:apikey/3FDCA1955AE7EB167B25D7D90AC02B9"
}
Delete an API key
The API key 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."
}