User

These are the endpoints for User. More information coming soon.

GET
/v1/auth

Get

Responds with details of the user when suitable authentication material is sent with the request.

Request
GET
/v1/auth
curl 'https://rest.compute.cudo.org/v1/auth' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
  "emailAddress": "string",
  "firstName": "string",
  "lastName": "string",
  "picture": "string"
}

DELETE
/v1/auth

Delete

Deletes your user, deleting all records of your user, and revoking access to every resource.

Request
DELETE
/v1/auth
curl 'https://rest.compute.cudo.org/v1/auth' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{}

GET
/v1/auth/create-identity-verification-session

Get identity verification session

Description for this endpoint is coming soon.

Request
GET
/v1/auth/create-identity-verification-session
curl 'https://rest.compute.cudo.org/v1/auth/create-identity-verification-session' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
  "id": "string",
  "clientSecret": "string"
}