OrganizationsProfiles
Archive a profile
POST
An archived profile grants nothing; its holders keep it, so restoring gives their rights back. Archiving an archived one answers it unchanged.
Who may call it: An owner, security admin or admin of the organization. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
slug*stringThe organization's slug, as in its URL.
profileId*stringOK.
application/json- response
profile*A permission profile: what a project member may do with each content area.
Example Request
curl -X POST 'http://localhost:3000/api/organizations/string/profiles/string/archive'Example Response
{ "profile": { "id": "string", "name": "string", "permissions": { "property1": "view", "property2": "view" }, "companyRestricted": true, "archivedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}