Create Credential With Private Key
curl --request POST \
--url https://cloud.onyx.app/api/manage/credential/private-key \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'credential_json=<string>' \
--form 'source=<string>' \
--form uploaded_file='@example-file' \
--form 'field_key=<string>' \
--form 'type_definition_key=<string>' \
--form admin_public=false \
--form curator_public=false \
--form 'name=<string>'{
"id": 123,
"credential": {
"credential_json": {},
"admin_public": true,
"id": 123,
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"time_created": "2023-11-07T05:31:56Z",
"time_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"curator_public": false,
"groups": [
123
],
"user_email": "<string>"
}
}Credentials
Create Credential With Private Key
POST
/
manage
/
credential
/
private-key
Create Credential With Private Key
curl --request POST \
--url https://cloud.onyx.app/api/manage/credential/private-key \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'credential_json=<string>' \
--form 'source=<string>' \
--form uploaded_file='@example-file' \
--form 'field_key=<string>' \
--form 'type_definition_key=<string>' \
--form admin_public=false \
--form curator_public=false \
--form 'name=<string>'{
"id": 123,
"credential": {
"credential_json": {},
"admin_public": true,
"id": 123,
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"time_created": "2023-11-07T05:31:56Z",
"time_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"curator_public": false,
"groups": [
123
],
"user_email": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.onyx.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Authorization header with Bearer token
Body
multipart/form-data
Was this page helpful?
⌘I