Docs

Decline Link Request

Turn down a request to link your company with another organization. The sender is told.

POST

Path

Path parameters
stringrequired

The link request's id, from List Link Requests.

Headers

Optional headers
string

Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. Here a key acts in another organization only as one of its members: with "Use this key across all of your organizations" on, in an organization its creator belongs to with a role. Child organizations and MindCloud staff access do not reach this endpoint. Every response's X-Company-Id header names the organization it acted in. See Organizations.

Response fields

idstring

Unique id of the link request.

directionstring

outgoing when your company sent it, incoming when another organization sent it to you.

  • incoming
  • outgoing
sidestring

The side your company takes if it is accepted: parent or child.

  • parent
  • child
parentCompanyIdstring

The organization that would become the parent.

parentCompanyNamestring

That organization's name.

childCompanyIdstring

The organization that would become the child.

childCompanyNamestring

That organization's name.

statusstring

pending (waiting for the receiving organization), accepted (the organizations are linked), declined, canceled (the sender withdrew it), or expired (not answered in time; send a new one).

  • pending
  • accepted
  • declined
  • canceled
  • expired
expiresOndate

When a pending request stops being answerable.

respondedOndate

When it was accepted, declined, or canceled.

createdOndate

When it was sent.