Use the DELETE /oauth/resourceOwnerCredentialsMappings/{{resourceId}} endpoint to delete a Resource Owner Credentials mapping.

Path parameters

Parameter Value Description
resourceId string(required) ID of the Resource Owner Credentials mapping.

Status codes

Code Reason
204 Resource owner credentials mapping deleted.
403 PingFederate does not have its OAuth 2.0 authorization server role enabled. Operation not available.
404 Resource not found.

ApiResult - Details on the result of the operation.

Property Type Description
developerMessage string Developer-oriented error message, if available.
message string Success or error message.
resultId string Result identifier.
validationErrors array[ValidationError] List of validation errors, if any.

ValidationError - A data input validation error.

Property Type Description
developerMessage string Developer-oriented error message, if available.
errorId string Error identifier.
fieldPath string The path to the model field to which the error relates, if one exists.
message string User-friendly error description.