Skip to main content

Delete person mobile number

DELETE /api/v1/PersonNumber/delete

Description

This endpoint is used to delete a person mobile number by its unique identifier (Id).

Tags: PersonNumber

URL:
/api/v{version}/PersonNumber/deleteS

ApiKey:
No API key required

Content-Type:
None

Query Parameters:
Id: string, required (format: uuid)
version: string, required
Accept-Language: header, optional, change the default response message language from English(en) to French(fr) or English(en)

Request Body:
None

Response:
Success, returns a message indicating the deletion was successful.
400: Bad Request
404: Not Found

Example:

/api/v1/PersonNumber/delete?Id=<uuid>

Headers

Content-TypeValue
Accept-Language

Headers

Content-TypeValue
Accepttext/plain

Query Params

Paramvalue
Id<uuid>

Response: 200

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}

Response: 400

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}

Response: 404

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request DELETE \ 
--url /api/v1/PersonNumber/delete \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!