PUT
/
auth
/
users
/
{id}
/
unsuspend
curl --request PUT \
  --url https://api.pxyz.dev/api/v0/auth/users/{id}/unsuspend
{
  "id": "<string>",
  "tenantId": "<string>",
  "name": "<string>",
  "imageUri": "<string>",
  "lastSignInAt": "2023-11-07T05:31:56Z",
  "lastActiveAt": "2023-11-07T05:31:56Z",
  "username": "<string>",
  "status": "active",
  "roleId": "<string>",
  "role": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "permissions": [
      "<string>"
    ]
  },
  "primaryEmailId": "<string>",
  "primaryPhoneId": "<string>",
  "emailAddresses": [
    {
      "id": "<string>",
      "tenantId": "<string>",
      "userId": "<string>",
      "email": "jsmith@example.com",
      "verifiedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "phoneNumbers": [
    {
      "id": "<string>",
      "tenantId": "<string>",
      "userId": "<string>",
      "phone": "<string>",
      "verifiedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "publicMeta": "<any>",
  "privateMeta": "<any>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string
required

Response

200 - application/json
id
string
required
tenantId
string
required
name
string | null
required
imageUri
string | null
lastSignInAt
string | null
lastActiveAt
string | null
username
string | null
status
enum<string> | null
Available options:
active,
inactive,
suspended
roleId
string | null
role
object | null
primaryEmailId
string | null
primaryPhoneId
string | null
emailAddresses
object[]
required
phoneNumbers
object[]
required
publicMeta
any | null
privateMeta
any | null
createdAt
string
required
updatedAt
string
required