Marketplace Customer Service Accounts
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| Core CRUD | ||
| GET | /api/marketplace-customer-service-accounts/ |
List service accounts |
| GET | /api/marketplace-customer-service-accounts/{uuid}/ |
Retrieve a service account |
| POST | /api/marketplace-customer-service-accounts/ |
Create a customer service account |
| PUT | /api/marketplace-customer-service-accounts/{uuid}/ |
Update a service account |
| PATCH | /api/marketplace-customer-service-accounts/{uuid}/ |
Partially update a service account |
| DELETE | /api/marketplace-customer-service-accounts/{uuid}/ |
Close a customer service account |
| Other Actions | ||
| POST | /api/marketplace-customer-service-accounts/{uuid}/rotate_api_key/ |
Rotate API key for a customer service account |
Core CRUD
List service accounts
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
marketplace_customer_service_accounts_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
customer |
string | Customer URL |
customer_uuid |
string (uuid) | Customer UUID |
email |
string | Email contains |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
state |
array | Service account state |
username |
string | Username |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
username |
string |
description |
string |
error_message |
string |
error_traceback |
string |
state |
any |
token |
string |
email |
string (email) |
expires_at |
string |
preferred_identifier |
string |
customer |
string (uuid) |
customer_uuid |
string (uuid) |
customer_name |
string |
Retrieve a service account
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
marketplace_customer_service_accounts_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
username |
string |
description |
string |
error_message |
string |
error_traceback |
string |
state |
any |
token |
string |
email |
string (email) |
expires_at |
string |
preferred_identifier |
string |
customer |
string (uuid) |
customer_uuid |
string (uuid) |
customer_name |
string |
Create a customer service account
Creates a new service account scoped to a specific customer (organization). This generates an API key that can be used for automated access to resources across all projects within that customer.
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
- Model Source:
CustomerServiceAccountRequest - API Source:
marketplace_customer_service_accounts_create
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Field | Type | Required |
|---|---|---|
username |
string | |
description |
string | |
error_traceback |
string | |
email |
string (email) | |
preferred_identifier |
string | |
customer |
string (uuid) | ✓ |
201 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
username |
string |
description |
string |
error_message |
string |
error_traceback |
string |
state |
any |
token |
string |
email |
string (email) |
expires_at |
string |
preferred_identifier |
string |
customer |
string (uuid) |
customer_uuid |
string (uuid) |
customer_name |
string |
Update a service account
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
CustomerServiceAccountRequest - API Source:
marketplace_customer_service_accounts_update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
username |
string | |
description |
string | |
error_traceback |
string | |
email |
string (email) | |
preferred_identifier |
string | |
customer |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
username |
string |
description |
string |
error_message |
string |
error_traceback |
string |
state |
any |
token |
string |
email |
string (email) |
expires_at |
string |
preferred_identifier |
string |
customer |
string (uuid) |
customer_uuid |
string (uuid) |
customer_name |
string |
Partially update a service account
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
- Model Source:
PatchedCustomerServiceAccountRequest - API Source:
marketplace_customer_service_accounts_partial_update
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
username |
string | |
description |
string | |
error_traceback |
string | |
email |
string (email) | |
preferred_identifier |
string | |
customer |
string (uuid) |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
username |
string |
description |
string |
error_message |
string |
error_traceback |
string |
state |
any |
token |
string |
email |
string (email) |
expires_at |
string |
preferred_identifier |
string |
customer |
string (uuid) |
customer_uuid |
string (uuid) |
customer_name |
string |
Close a customer service account
Deactivates a customer service account and revokes its API key.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
marketplace_customer_service_accounts_destroy
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body
Other Actions
Rotate API key for a customer service account
Generates a new API key for the service account, immediately invalidating the old one. The new key is returned in the response.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
username |
string |
description |
string |
error_message |
string |
error_traceback |
string |
state |
any |
token |
string |
email |
string (email) |
expires_at |
string |
preferred_identifier |
string |
customer |
string (uuid) |
customer_uuid |
string (uuid) |
customer_name |
string |