API reference for authentication, API keys, and user management on the Plexe Platform.
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | Descriptive name for the API key |
permission_level | string | Yes | Permission level: read_only or read_write |
key
field) is displayed only once when the key is created. Store it securely as you won’t be able to retrieve it again.Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
status | string | No | Filter by status: active or revoked |
limit | integer | No | Maximum number of keys to return (default: 20, max: 100) |
offset | integer | No | Number of keys to skip for pagination (default: 0) |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
keyId | string | Yes | ID of the API key to retrieve |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
keyId | string | Yes | ID of the API key to update |
Parameter | Type | Required | Description |
---|---|---|---|
name | string | No | New name for the API key |
expiration_days | integer | No | New expiration period (in days) from current date |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
keyId | string | Yes | ID of the API key to revoke |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
HTTP Status | Error Code | Description |
---|---|---|
400 | invalid_request | The request was invalid |
401 | unauthorized | Authentication failed |
403 | forbidden | Insufficient permissions |
404 | not_found | Resource not found |
409 | resource_exists | Resource already exists |
422 | validation_failed | Validation failed |
429 | rate_limited | Too many requests |
500 | server_error | Internal server error |
429 Too Many Requests
response.