Skip to main content

Set Human Initial Password

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

Set Human Initial Password

Path Parameters
  • userId string required
Request Body required
  • password string
Responses

A successful response.


Schema
  • details object
  • sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

  • creationDate date-time

    on read: the timestamp of the first event of the object

    on create: the timestamp of the event(s) added by the manipulation

  • changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the

  • resourceOwner resource_owner is the organization an object belongs to
POST /users/:userId/password/_initialize

Authorization

type: oauth2flow: authorizationCodescopes: openid,urn:zitadel:iam:org:project:id:zitadel:aud

Request

Base URL
https://$ZITADEL_DOMAIN/management/v1
Bearer Token
userId — path required
Content-Type
Body required
{
"password": "string"
}
Accept
curl -L -X POST 'https://$ZITADEL_DOMAIN/management/v1/users/:userId/password/_initialize' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"password": "string"
}'