mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 03:39:58 +02:00
admin '/secrets/access' endpoints (#983)
This commit is contained in:
@@ -613,6 +613,52 @@ paths:
|
||||
500:
|
||||
description: internal server error
|
||||
|
||||
/secrets/access:
|
||||
post:
|
||||
tags:
|
||||
- admin
|
||||
security:
|
||||
- key: []
|
||||
operationId: addSecretsAccess
|
||||
parameters:
|
||||
- name: body
|
||||
in: body
|
||||
schema:
|
||||
properties:
|
||||
secretsIdentityZId:
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: ok
|
||||
400:
|
||||
description: access not added
|
||||
401:
|
||||
description: unauthorized
|
||||
500:
|
||||
description: internal server error
|
||||
delete:
|
||||
tags:
|
||||
- admin
|
||||
security:
|
||||
- key: []
|
||||
operationId: deleteSecretsAccess
|
||||
parameters:
|
||||
- name: body
|
||||
in: body
|
||||
schema:
|
||||
properties:
|
||||
secretsIdentityZId:
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: ok
|
||||
400:
|
||||
description: access not removed
|
||||
401:
|
||||
description: unauthorized
|
||||
500:
|
||||
description: internal server error
|
||||
|
||||
#
|
||||
# agent
|
||||
#
|
||||
|
Reference in New Issue
Block a user