Teams

Get team deletion status

Changed on

Retrieve progress for an asynchronous team deletion request

get/team-deletions/{id}

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

id, string required

Unique team deletion operation identifier

Response

OK

object required

Asynchronous team deletion operation

id, string required

Unique identifier for the deletion operation

teamId, string required

Team being deleted

status, 'QUEUED' | 'PROCESSING' | 'BLOCKED' | 'COMPLETED' | 'FAILED' required

Current state of an asynchronous team deletion operation

createdAt, string date-time required

Timestamp when deletion was requested

updatedAt, string date-time required

Timestamp when deletion progress last changed

completedAt, string date-time

Timestamp when deletion completed

blocker, object

Structured business condition preventing team deletion

error, string

Safe failure description when manual recovery is needed

Changes

    • breaking

      added the pattern ^tdl_[0-9a-z]{26}$ to the path request parameter id

    • info

      the id response's property pattern ^tdl_[0-9a-z]{26}$ was added for the status

    • info

      the teamId response's property pattern ^tem_[0-9a-z]{26}$ was added for the status