cURL
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, "source": "ingestion_api", "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 ], "is_user_file": false, "user_email": "<string>" } }
Authorization header with Bearer token
Successful Response
Show child attributes
Was this page helpful?