Signals Docs
SIP Trunking

Subtrunks


Read a subtrunk of the project

GET
https://api.signals.pressone.africa/v1
/subtrunks/{subtrunk_id}

Read a subtrunk of the project › path Parameters

subtrunk_id
​string · required

Subtrunk id

Read a subtrunk of the project › Headers

X-Project-ID
​string

The project the request acts on, as prj_ and its lowercase UUID; optional while the organization has one active project.

Read a subtrunk of the project › Responses

The subtrunk.

​SubtrunkDelegation[] · required
id
​string · required
​SubtrunkInheritance · required
​SubtrunkConfiguration · required
name
​string · required
organization_id
​string · required
revision
​integer · int64 · required

The save revision the ETag quotes; send it back as If-Match.

status
​TrunkLifecycleStatus · enum · required
Enum values:
draft
enabled
disabled
releasing
released
trunk_id
​string · required
​SubtrunkUsage · required

Release an unreferenced subtrunk

DELETE
https://api.signals.pressone.africa/v1
/subtrunks/{subtrunk_id}

Release an unreferenced subtrunk › path Parameters

subtrunk_id
​string · required

Subtrunk id

Release an unreferenced subtrunk › Headers

If-Match
​string · required

The quoted revision the caller last read, so a concurrent change answers 412.

Idempotency-Key
​string · required

One nonblank key of at most 128 characters; a retry with the same key repeats the outcome.

X-Project-ID
​string

The project the request acts on, as prj_ and its lowercase UUID; optional while the organization has one active project.

Release an unreferenced subtrunk › Request Body

confirm_name
​string · required

Release an unreferenced subtrunk › Responses

The subtrunk is releasing; the parent's apply retires it.

​SubtrunkDelegation[] · required
id
​string · required
​SubtrunkInheritance · required
​SubtrunkConfiguration · required
name
​string · required
organization_id
​string · required
revision
​integer · int64 · required

The save revision the ETag quotes; send it back as If-Match.

status
​TrunkLifecycleStatus · enum · required
Enum values:
draft
enabled
disabled
releasing
released
trunk_id
​string · required
​SubtrunkUsage · required

Edit a subtrunk

PATCH
https://api.signals.pressone.africa/v1
/subtrunks/{subtrunk_id}

Edit a subtrunk › path Parameters

subtrunk_id
​string · required

Subtrunk id

Edit a subtrunk › Headers

If-Match
​string · required

The quoted revision the caller last read, so a concurrent change answers 412.

X-Project-ID
​string

The project the request acts on, as prj_ and its lowercase UUID; optional while the organization has one active project.

Edit a subtrunk › Request Body

​
name
​string | null
​

Edit a subtrunk › Responses

The subtrunk was updated.

​SubtrunkDelegation[] · required
id
​string · required
​SubtrunkInheritance · required
​SubtrunkConfiguration · required
name
​string · required
organization_id
​string · required
revision
​integer · int64 · required

The save revision the ETag quotes; send it back as If-Match.

status
​TrunkLifecycleStatus · enum · required
Enum values:
draft
enabled
disabled
releasing
released
trunk_id
​string · required
​SubtrunkUsage · required