Saml mappings

Delete SAML Mapping

DELETEhttps://cloud-api.calyptia.com/v1/saml_mappings/{id}
Authorization
Path parameters
id*string (uuid)
Response

OK

Body
deleted*boolean
deletedAt*nullable string (date-time)
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/saml_mappings/{id}', {
    method: 'DELETE',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "deleted": false,
  "deletedAt": "2024-12-22T05:21:37.271Z"
}

Update SAML Mapping

PATCHhttps://cloud-api.calyptia.com/v1/saml_mappings/{id}
Authorization
Path parameters
id*string (uuid)
Body
claimKeynullable string
claimValuenullable string
roleRole (enum)
adminmanagerteamviewer
Response

OK

Body
updatedAt*string (date-time)
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/saml_mappings/{id}', {
    method: 'PATCH',
    headers: {
      "Authorization": "Bearer <token>",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "updatedAt": "2024-12-22T05:21:37.271Z"
}