Authorizations
Path Parameters
Body
application/json
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/credentials \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"data": {},
"type": "<string>",
"redactFields": [
"<string>"
],
"expiresAt": "2023-11-07T05:31:56Z"
}'{
"id": "<string>",
"organisationID": "<any>",
"name": "<string>",
"data": {},
"type": "<string>",
"redactFields": [
"<string>"
],
"expiresAt": "2023-11-07T05:31:56Z"
}CreateCredential allows users to create new Credentials. Valid requests which return a credential marked as “invalid” is normal behaviour, but the credential won’t be usable until it’s updated to become valid.
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/credentials \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"data": {},
"type": "<string>",
"redactFields": [
"<string>"
],
"expiresAt": "2023-11-07T05:31:56Z"
}'{
"id": "<string>",
"organisationID": "<any>",
"name": "<string>",
"data": {},
"type": "<string>",
"redactFields": [
"<string>"
],
"expiresAt": "2023-11-07T05:31:56Z"
}