Requires the api-keys-manage
capability.
Returns a collection of API Key resources.
General error response from the platform
{- "data": [
- {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "secret": "string",
- "role_id": "651586fca6078e98982dbd90",
- "ips": [
- "string"
], - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
]
}
Requires the api-keys-manage
capability.
Returns an API Key.
General error response from the platform
{- "name": "string",
- "role_id": "651586fca6078e98982dbd90",
- "ips": [
- "string"
]
}
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "secret": "string",
- "role_id": "651586fca6078e98982dbd90",
- "ips": [
- "string"
], - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}
Requries the api-keys-manage
capability.
Returns an API Key resource.
General error response from the platform
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "secret": "string",
- "role_id": "651586fca6078e98982dbd90",
- "ips": [
- "string"
], - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}, - "includes": {
- "roles": {
- "property1": {
- "id": "string",
- "name": "string",
- "root": true,
- "default": "string",
- "rank": 0,
- "identifier": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "capabilities": {
- "all": true,
- "specific": [
- "api-keys-manage"
]
}, - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hub_id": "651586fca6078e98982dbd90",
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "counts": {
- "members": 0,
- "api_keys": 0
}
}
}, - "property2": {
- "id": "string",
- "name": "string",
- "root": true,
- "default": "string",
- "rank": 0,
- "identifier": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "capabilities": {
- "all": true,
- "specific": [
- "api-keys-manage"
]
}, - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hub_id": "651586fca6078e98982dbd90",
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "counts": {
- "members": 0,
- "api_keys": 0
}
}
}
}, - "roles:identifiers": {
- "property1": "651586fca6078e98982dbd90",
- "property2": "651586fca6078e98982dbd90"
}
}
}
Requires the api-keys-manage
capability.
Parameters for updating an API Key.
Returns an API Key.
General error response from the platform
{- "name": "string",
- "role_id": "651586fca6078e98982dbd90",
- "ips": [
- "string"
]
}
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "secret": "string",
- "role_id": "651586fca6078e98982dbd90",
- "ips": [
- "string"
], - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}
Requires the 'api-keys-manage' capability.
Returns an API Key.
General error response from the platform
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "secret": "string",
- "role_id": "651586fca6078e98982dbd90",
- "ips": [
- "string"
], - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}