PATCH
/
users
/
{userID}
/
identifiers
/
{identifierID}
curl --request PATCH \
  --url https://backendapi.corbado.io/v2/users/{userID}/identifiers/{identifierID} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "pending"
}'
{
  "identifierID": "<string>",
  "type": "email",
  "value": "<string>",
  "status": "pending",
  "userID": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

userID
string
required

ID of user

identifierID
string
required

ID of login identifier

Body

application/json

Response

200
application/json

Identifier has been updated

The response is of type object.