Accept an organization on the production access list (staff only)
From requested. The organization can then send its activation request. The contact of the request gets an email; the organization gets the event and its webhook. Reserved to the staff of the service; anyone else gets staff_required, and a service-account key gets person_credential_required.
POST
https://api.invox.page/v1/staff/production_access/{id}/acceptAuthorization
Path parameters
Request body JSON required
Returns
200
The access request as the decision left it.
JSON
400
validation_failed: The request is not valid · malformed_request: The request body is not valid JSON
JSON
401
unauthenticated: No credential was sent · invalid_credential: The credential is not valid
JSON
403
person_credential_required: This route is for a person, not for a service account · staff_required: This operation is reserved to the staff of the service
JSON
404
not_found: The resource does not exist in this organization
JSON
409
production_access_wrong_state: The access request is not in a state that allows this
JSON
429
rate_limited: Too many requests
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now
JSON