rotateCancel

abstract suspend fun rotateCancel(connectionId: String): SCIMRotateCancelResponse

Cancels the SCIM bearer token rotate, removing the new bearer token issued. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-cancel cancel-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.

Return

SCIMRotateCancelResponse

Parameters

connectionId

the ID of the connection to cancel a bearer token rotation process


abstract fun rotateCancel(connectionId: String, callback: (SCIMRotateCancelResponse) -> Unit)

Cancels the SCIM bearer token rotate, removing the new bearer token issued. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-cancel cancel-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.

Parameters

connectionId

the ID of the connection to cancel a bearer token rotation process

callback

a callback that receives a SCIMRotateCancelResponse