Other

POST /v1/access_grants

POST /v1/access_grants

Required scopes: access_grants:write

post/v1/access_grants

Request

  • Base URL: https://api.yardstick.team
  • URL: https://api.yardstick.team/v1/access_grants
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.

X-Request-Idstring

Optional caller-supplied request identifier. Values must match ^[A-Za-z0-9_-]{1,128}$; a valid value is echoed in the response X-Request-Id header, otherwise the API generates one.

Request body

subject_person_idstring required
scope'job' | 'department' | 'application' | 'report' required
target_idstring required
artifact_classesstring[] required
reasonstring required
effective_atstring date-time
expires_atstring date-time nullable
revocableboolean

Response

Success

object required

Changes

No recorded changes to this operation across all 1 revision of this API.