Issue an enterprise read grant
A read grant lets a script read your enterprise through the Proofline API without a person's session. An enterprise administrator issues it, and it expires after at most 90 days.
What a read grant reaches#
A read grant lists the enterprise's organizations: each organization whose owner accepted the link, and each open invitation. It reads one enterprise only. It cannot change anything, and it does not open an organization's reviews, repositories or settings.
Issue a read grant#
- From Enterprises in the account menu, open the enterprise and choose Administrators.
- Under Read grants, enter a Name that says what will use the grant.
- Set Expires in to between 1 and 90 days.
- Select Issue read grant.
- Copy the secret and store it where the script reads its credentials. Proofline shows the secret once.
Send the secret as a Bearer token. Select Done after saving it.
Issuing a grant needs a sign-in from the last 24 hours. When Proofline asks for one, select Sign in again. You return to Read grants, where you can issue the grant.
Revoke a read grant#
Under Read grants, select Revoke beside the grant, then Revoke grant. Requests that send its secret are refused from then on.
A read grant also ends when the administrator who issued it loses enterprise administration. Before revoking that administrator, have another administrator issue a replacement and move the script to it.