Saml mappings

SAML Mappings

get
Authorizations
Path parameters
projectIDstring · uuidRequired
Responses
200
OK
application/json
get
GET /v1/projects/{projectID}/saml_mappings HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "projectID": "123e4567-e89b-12d3-a456-426614174000",
      "claimKey": "text",
      "claimValue": "text",
      "role": "admin",
      "createdAt": "2025-06-28T01:06:48.924Z",
      "updatedAt": "2025-06-28T01:06:48.924Z"
    }
  ],
  "endCursor": "text",
  "count": 1
}

Create SAML Mapping

post
Authorizations
Path parameters
projectIDstring · uuidRequired
Body
claimKeystringRequired
claimValuestringRequired
rolestring · enumRequiredPossible values:
Responses
201
Created
application/json
post
POST /v1/projects/{projectID}/saml_mappings HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "claimKey": "text",
  "claimValue": "text",
  "role": "admin"
}
201

Created

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "createdAt": "2025-06-28T01:06:48.924Z"
}