files

Revoke a share link

Changed on

Stop a share link from opening the file. Revoking cannot be undone.

Required permission: files.manage.

post/v1/projects/{project_id}/files/{environment_id}/share-links/revoke

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

environment_id, string uuid required

Environment ID from GET /environments.

Request body

FileShareLinkRevokeRequest required
id, string uuid required

Share link ID from the file's share links.

Response

Successful Response

FileShareLinkRevokeResponse required
id, string required
revoked_at, string required

Changes