Skip to main content

Delete a User Authentication Password Profile

DELETE Delete by ID

https://useast.api.elasticpath.com/v2/authentication-realms/:realm-id/user-authentication-info/:user-authentication-info-id/user-authentication-password-profile-info/:user-authentication-password-profile-info

Parameters

Path parameters

NameRequiredTypeDescription
realm-idRequiredstringThe ID for the authentication-realm containing the requested user-authentication-password-profile-info object.
user-authentication-info-idRequiredstringThe ID for the user-authentication-info object linked to the requested user-authentication-password-profile-info object.
user-authentication-password-profile-info-idRequiredstringThe ID for the user-authentication-info-password-profile-info object.

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Request Examples

Curl

curl -X DELETE https://useast.api.elasticpath.com/v2/authentication-realms/:realm-id/user-authentication-info/:user-authentication-info-id/user-authentication-password-profile-info/:user-authentication-password-profile-info \
-H "Authorization: Bearer XXXX"

JavaScript SDK

const MoltinGateway = require('@moltin/sdk').gateway
const Moltin = MoltinGateway({
client_id: 'X'
})
const realmId = 'XXXX'
const userAuthenticationInfoId = 'XXXX'
const userAuthenticationPasswordProfileId = 'XXXX'
Moltin.UserAuthenticationPasswordProfile.Delete({
realmId,
userAuthenticationId,
userAuthenticationPasswordProfileId
}
)

Response Example

204 No Content