Create Subprojects
POST/Accounts
This endpoint create a subproject on the Project you are connecting as.
Permissions
The API token must include the following scopes: Management.
Request
- application/x-www-form-urlencoded
Body
required
The name of the Project, up to 250 characters long.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
The authorization token for this Project. This token should be kept a secret and is not returned in a normal request.
The date, in RFC 2822 GMT format, this Project was created.
The date, in RFC 2822 GMT format, this Project was updated.
The name of the Project, up to 250 characters long.
The Project ID that uniquely identifies the parent of the Project.
The Project ID that uniquely identifies the Project to retrieve.
The status of the Project. Possible values are: active, suspended, or closed.
Whether or not the project is a sub-project
subresource_uris
object
A Map of sub-projects that are linked to the given Project.
The type of the Project. Possible values are: Trial and Full.
The URI for the Project.
{
"auth_token": "Redacted",
"date_created": "Sat, 15 Sept 2018 10:00:00 +0000",
"date_updated": "Sat, 16 Sept 2018 10:00:00 +0000",
"friendly_name": "My Project",
"owner_account_sid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "string",
"subproject": true,
"subresource_uris": {
"available_phone_numbers": "string",
"calls": "string",
"conferences": "string",
"incoming_phone_numbers": "string",
"notifications": "string",
"outgoing_caller_ids": "string",
"recordings": "string",
"transcriptions": "string",
"addresses": "string",
"signing_keys": "string",
"connect_apps": "string",
"sip": "string",
"authorized_connect_apps": "string",
"usage": "string",
"keys": "string",
"applications": "string",
"short_codes": "string",
"queues": "string",
"messages": "string"
},
"type": "Full",
"uri": "string"
}