Create new organization to customer authorization

Prev Next
Post
/network/customerOrganizationAuthorizations

Creates a new organization to customer authorization.

Required permissions: READ_ORGANIZATION_AUTHORIZATION, WRITE_ORGANIZATION_AUTHORIZATION.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the target tenant (e.g. acme).

Body parameters

The details of authorization being created.

Expand All
object
organization
object

The organization identifier.

id
string

The referenced object identifier.

Example1234abcd
customer
object

The customer identifier.

id
string

The referenced object identifier.

Example1234abcd
endTimestamp
integer (int64)

The timestamp UTC the authorization ends.

Example1578438000000
Responses
201

Successful created.

400

Request data not valid.

object
message
string

The error response.

ExampleBad request
401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
404

Resource was not found.

object
message
string

The error response.

ExampleResource not found
429

API call rate limit exeeded.

object
message
string

The error response.

ExampleAPI call rate limit exeeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error