Download OpenAPI specification:Download
API for managing Password Policies.
A password policy describes a set of rules regarding passwords. Authorization is controlled via JWT.
This tag groups all operations for passwordpolicy.
This endpoint enables retrieving all PasswordPolicy using pagination and optional filters.
effectivePolicy | boolean When set to |
{- "id": "95f76a5e-86cd-52e0-b080-f22f131718e5",
- "type": "collection",
- "href": "/passwordpolicies",
- "items": [
- {
- "id": "70323699-7c28-58e7-9e0c-ff644f6947a5",
- "type": "passwordpolicy",
- "href": "/passwordpolicies/70323699-7c28-58e7-9e0c-ff644f6947a5",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>"
}, - "properties": {
- "description": "Password policy for John Doe.",
- "minLength": 5,
- "minNumberChars": 0,
- "minUpperChars": 0,
- "minLowerChars": 0,
- "minSpecialChars": 0
}
}
]
}
Creates a new PasswordPolicy.
The full PasswordPolicy needs to be provided to create the object. Optional data will be filled with defaults or left empty.
PasswordPolicy to create.
object Metadata | |
required | object (PasswordPolicy) |
{- "metadata": { },
- "properties": {
- "description": "Password policy for John Doe.",
- "minLength": 5,
- "minNumberChars": 0,
- "minUpperChars": 0,
- "minLowerChars": 0,
- "minSpecialChars": 0
}
}
{- "id": "70323699-7c28-58e7-9e0c-ff644f6947a5",
- "type": "passwordpolicy",
- "href": "/passwordpolicies/70323699-7c28-58e7-9e0c-ff644f6947a5",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>"
}, - "properties": {
- "description": "Password policy for John Doe.",
- "minLength": 5,
- "minNumberChars": 0,
- "minUpperChars": 0,
- "minLowerChars": 0,
- "minSpecialChars": 0
}
}
Returns the PasswordPolicy by ID.
passwordPolicyId required | string <uuid> Example: 70323699-7c28-58e7-9e0c-ff644f6947a5 The ID (UUID) of the PasswordPolicy. |
{- "id": "70323699-7c28-58e7-9e0c-ff644f6947a5",
- "type": "passwordpolicy",
- "href": "/passwordpolicies/70323699-7c28-58e7-9e0c-ff644f6947a5",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>"
}, - "properties": {
- "description": "Password policy for John Doe.",
- "minLength": 5,
- "minNumberChars": 0,
- "minUpperChars": 0,
- "minLowerChars": 0,
- "minSpecialChars": 0
}
}
Ensures that the PasswordPolicy with the provided ID is created or modified. The full PasswordPolicy needs to be provided to ensure (either update or create) the PasswordPolicy. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.
passwordPolicyId required | string <uuid> Example: 70323699-7c28-58e7-9e0c-ff644f6947a5 The ID (UUID) of the PasswordPolicy. |
update PasswordPolicy
id required | string <uuid> The ID (UUID) of the PasswordPolicy. |
object Metadata | |
required | object (PasswordPolicy) |
{- "id": "70323699-7c28-58e7-9e0c-ff644f6947a5",
- "metadata": { },
- "properties": {
- "description": "Password policy for John Doe.",
- "minLength": 5,
- "minNumberChars": 0,
- "minUpperChars": 0,
- "minLowerChars": 0,
- "minSpecialChars": 0
}
}
{- "id": "70323699-7c28-58e7-9e0c-ff644f6947a5",
- "type": "passwordpolicy",
- "href": "/passwordpolicies/70323699-7c28-58e7-9e0c-ff644f6947a5",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>"
}, - "properties": {
- "description": "Password policy for John Doe.",
- "minLength": 5,
- "minNumberChars": 0,
- "minUpperChars": 0,
- "minLowerChars": 0,
- "minSpecialChars": 0
}
}
Deletes the specified PasswordPolicy.
passwordPolicyId required | string <uuid> Example: 70323699-7c28-58e7-9e0c-ff644f6947a5 The ID (UUID) of the PasswordPolicy. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "err-1234",
- "message": "Error message example"
}
]
}