/v1/orgs/{id}/activate
POST
/v1/orgs/{id}/activate
const url = 'https://api.reindeer.example.tr/v1/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/activate';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.reindeer.example.tr/v1/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/activate \ --header 'Authorization: Bearer <token>'Scope orgs:write, fresh step-up. Requests the activation of a pending organisation (approval
kind org.activate); a second person outside the requester’s chain approves it. The request is
bound to the organisation’s history when it is made: if the organisation is suspended afterwards,
the request is cancelled, or fails if it was already executing.
Authorizations
Bölüm başlığı “Authorizations”Parameters
Bölüm başlığı “Parameters”Path Parameters
Bölüm başlığı “Path Parameters”id
required
string format: uuid
Responses
Bölüm başlığı “Responses”Approval waiting for a second person
Media typeapplication/json
object
approval
object
id
string
kind
string
summary
string
requested_by
string
requested_at
string format: date-time
not_before
string format: date-time
expires_at
string format: date-time
state
string
controllers
Everyone who controlled the requester when the request was made: the issuers of its codes, the person who requested a machine, and their controllers in turn
Array<string>
cool_off_seconds
integer
decided_by
string
decided_at
string format: date-time
cancelled_by
string
cancelled_at
string format: date-time
result
object
Example
{ "approval": { "kind": "identity.create", "state": "pending" }}Org_state when it is not pending, already_requested when a request waits