Skip to main content
POST
Set must change password
This endpoint is in preview: it may change without notice until it becomes part of a stable version.

Body

application/json
must_change_password
boolean
required

True requires a new password on the next login, false lifts that requirement. An expired password must still be changed, whatever the value.

resource_id
string<snowflake>
required

Refused on a person who is not an employee, on one's own account, and on an account without a username or a password.

Example:

"872815618512410358"

Response

204

Credential must change password set.