Check if a user has access to an artifact.
get/midgard/v0.1/artifact/verify-access/{artifactId}
Check if a user has access to an artifact.
Request
Authorization
X-AT
header
apiKey
Path Parameters
artifactIdThe artifact ID.
integer
REQUIRED
Query Parameters
stackItemIdThe stack item ID to validate the artifact ID against.
integer
localEnvIdThe local environment ID to validate the artifact ID against.
string
Response
200Artifact access verified successfully.
403User is not allowed to access this resource.
404Artifact, stack item, application, or environment was not found.
Shell cURL
shell
Show schema
json