Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get current password policy requirements

Returns the list of requirements for the current password policy. For example, “The password must have at least 10 characters.”, “The password must not be similar to the user’s name or email address.”, etc.

GET/api/2/password/policy
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
hasOldPasswordboolean

Whether or not the user will be required to enter their current password. Use false (the default) if this is a new user or if an administrator is forcibly changing another user's password.

default: false
Responses
200

Returns a JSON array of the user-facing messages.

string
Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/password/policy' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
"string"

Was this page helpful?