Update Subscriber
PUT/resources/subscribers/:id
Update Subscriber
Request
Path Parameters
Unique ID of a Subscriber.
- application/json
Body
required
Password of the Subscriber.
Possible values: >= 8 characters
and <= 72 characters
password123
Email of the Subscriber.
johndoe@example.com
First name of the Subscriber.
John
Last name of the Subscriber.
Doe
Display name of the Subscriber.
John Doe
Job title of the Subscriber.
Software Engineer
Timezone of the Subscriber.
America/New_York
Country of the Subscriber.
United States
Region of the Subscriber.
New York
Company name of the Subscriber.
SignalWire
Responses
- 200
- 401
- 404
- 422
The request has succeeded.
- application/json
- Schema
- Example (from schema)
Schema
Unique ID of the request.
d369a402-7b43-4512-8735-9d5e1f387814
Unique ID of the project.
d369a402-7b43-4512-8735-9d5e1f387814
Display name of the Subscriber.
John Doe
Type of the resource.
Possible values: [subscriber
]
Date and time when the resource was created.
2024-10-17T14:14:53Z
Date and time when the resource was updated.
2024-10-17T14:14:53Z
subscriber
object
required
Unique ID of the Subscriber.
d369a402-7b43-4512-8735-9d5e1f387814
Email of the Subscriber.
johndoe@example.com
First name of the Subscriber.
John
Last name of the Subscriber.
Doe
Display name of the Subscriber.
John Doe
Job title of the Subscriber.
Software Engineer
Timezone of the Subscriber.
America/New_York
Country of the Subscriber.
United States
Region of the Subscriber.
New York
Company name of the Subscriber.
SignalWire
{
"id": "d369a402-7b43-4512-8735-9d5e1f387814",
"project_id": "d369a402-7b43-4512-8735-9d5e1f387814",
"display_name": "John Doe",
"type": "subscriber",
"created_at": "2024-10-17T14:14:53Z",
"updated_at": "2024-10-17T14:14:53Z",
"subscriber": {
"id": "d369a402-7b43-4512-8735-9d5e1f387814",
"email": "johndoe@example.com",
"first_name": "John",
"last_name": "Doe",
"display_name": "John Doe",
"job_title": "Software Engineer",
"timezone": "America/New_York",
"country": "United States",
"region": "New York",
"company_name": "SignalWire"
}
}
Access is unauthorized.
- application/json
- Schema
Schema
string
Possible values: [Unauthorized
]
The server cannot find the requested resource.
- application/json
- Schema
Schema
string
Possible values: [Not Found
]
Client error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
required
Error type.
Error code.
Error details.
Request parameter associated with this error.
Link to developer resource for this error.
{
"errors": [
{
"type": "validation_error",
"code": "missing_required_parameter",
"message": "Required parameter is missing",
"attribute": "password",
"url": "https://developer.signalwire.com/rest/signalwire-rest/overview/error-codes#invalid_parameter"
}
]
}