Skip to main content

Cancel a forced sign-out task

Cancel a forced sign-out task. POST /api/openapi/v1/force-logout-tasks/{taskId}/cancellations, scope admin.v1.force-logout-tasks.execute.

  • Scope: admin.v1.force-logout-tasks.execute
  • Permission: Execute forced sign-out tasks (force-logout-tasks)
  • Permission type: Execute
  • Endpoint: POST/api/openapi/v1/force-logout-tasks/{taskId}/cancellations

Authentication and request headers

Call with an application API key. This endpoint checks only the scope above; read, manage and execute permissions do not imply one another.
NameLocationTypeRequiredDescriptionExample
AuthorizationheaderstringYesApplication API key, passed as a Bearer token.Bearer qwk_***
X-Request-IdheaderstringNoOptional request tracing identifier; generated by the server if omitted.req-20260831-001

Request parameters

NameLocationTypeRequiredDescriptionExample
taskIdpathstring · uuidRequiredTask ID"<uuid>"
Idempotency-KeyheaderstringRequiredIdempotency key used to prevent duplicate submissions"<string>"
reasonbodystringNoCancellation reason"<string>"
versionbodyinteger · int64RequiredVersion used for concurrent update checks1

Request example

cURL

Responses

204 No Content default Flat business error
NameTypeRequiredDescriptionExample
codestringNoStable business error code"<string>"
detailstringYesHuman-readable error description"<string>"
detailsOpenapiErrorDetailsNoError details{"field":"<string>","reason":"<string>","suggestion":"<string>"}
details.fieldstringNoRequest field that failed validation"<string>"
details.reasonstringNoStable validation failure reason"<string>"
details.suggestionstringNoSuggested normalized value"<string>"
errorstringYesStable HTTP error type"<string>"
Response example