Platform API
API Reference
- Connect Sessions
- Accounts
- Request Logs
- Connectors
- Proxy
Accounts
Update Account
PATCH
/
accounts
/
{id}
Copy
Ask AI
curl --request PATCH \
--url https://api.stackone.com/accounts/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"provider": "<string>",
"origin_owner_id": "<string>",
"origin_owner_name": "<string>",
"origin_username": "<string>",
"credentials": {},
"setup_information": {},
"secrets": {},
"authentication_config_key": "<string>",
"environment": "<string>",
"label": {},
"metadata": {},
"type": [
"PRODUCTION",
"TEST"
]
}'
Copy
Ask AI
{
"id": "<string>",
"provider": "<string>",
"provider_name": "<string>",
"status": "active",
"status_reasons": [
{
"code": "<string>",
"description": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
],
"origin_owner_id": "<string>",
"origin_owner_name": "<string>",
"origin_username": "<string>",
"credentials": {},
"setup_information": {},
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"type": [
"PRODUCTION",
"TEST"
]
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Body
application/json
Response
200
application/json
The account with the given identifier was updated.
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request PATCH \
--url https://api.stackone.com/accounts/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"provider": "<string>",
"origin_owner_id": "<string>",
"origin_owner_name": "<string>",
"origin_username": "<string>",
"credentials": {},
"setup_information": {},
"secrets": {},
"authentication_config_key": "<string>",
"environment": "<string>",
"label": {},
"metadata": {},
"type": [
"PRODUCTION",
"TEST"
]
}'
Copy
Ask AI
{
"id": "<string>",
"provider": "<string>",
"provider_name": "<string>",
"status": "active",
"status_reasons": [
{
"code": "<string>",
"description": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
],
"origin_owner_id": "<string>",
"origin_owner_name": "<string>",
"origin_username": "<string>",
"credentials": {},
"setup_information": {},
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"type": [
"PRODUCTION",
"TEST"
]
}
Assistant
Responses are generated using AI and may contain mistakes.