Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Business members

7 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Am I the owner, or acting for the owner, of this business?

GET/business/{businessId}/act-for-owner/me

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
businessIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

List a business's members

GET/business/{businessId}/members

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
businessIdrequiredstring, path
statusrequiredstring, query
qrequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Invite a member to a business

POST/business/{businessId}/members

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
businessIdrequiredstring, path

Request body application/json

FieldTypeDescription
emailrequiredstringExample: "[email protected]"
permissionrequiredstringOne of: "admin", "manager", "editor", "view". Example: "manager"

Response

201. The payload in data is not described in the spec yet.

Update a business member (permission/status)

PATCH/business/members/{memberId}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
memberIdrequiredstring, path

Request body application/json

FieldTypeDescription
permissionstringOne of: "admin", "manager", "editor", "view".
statusstringOne of: "active", "suspended".

Response

200. The payload in data is not described in the spec yet.

Remove a business member, or leave the business (your own active or suspended seat; not the owner)

DELETE/business/members/{memberId}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
memberIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Owner only, after step-up: let an active admin member act for the owner (billing, paid apps, developer) for 1–365 days

PUT/business/members/{memberId}/act-for-owner

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
memberIdrequiredstring, path

Request body application/json

FieldTypeDescription
daysnumberMinimum 1, maximum 365. Example: 90
scopesstring[]What they may do for the owner (default: all) One of: "billing", "developer", "profile".
notestringAt most 200 characters. Example: "Runs billing while I travel"

Response

200. The payload in data is not described in the spec yet.

End a member's permission to act for the owner (the owner, or the member themselves). Takes effect at once.

DELETE/business/members/{memberId}/act-for-owner

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
memberIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.