ZITADEL Docs
APIsCore ResourcesV1Organization Objects

ReactivateUserGrant

Reactivate User Grant

Deprecated: Activate an authorization to enable a user's access to an owned or granted project.

Reactivate a deactivated user grant. The user will be able to use the granted project again. An error will be returned if the user grant is not deactivated.

POST
/users/{user_id}/grants/{grant_id}/_reactivate

Path Parameters

user_id*string
grant_id*string

Response Body

application/json

application/json

curl -X POST "https://loading/users/string/grants/string/_reactivate"
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?