Secrets
Attach tags
Attach tags to a secret
POST
/
api
/
v3
/
secrets
/
tags
/
{secretName}
Authorizations
Authorization
string
headerrequiredAn access token in Infisical
Path Parameters
secretName
string
requiredThe name of the secret to attach tags to.
Body
application/json
projectSlug
string
requiredThe slug of the project where the secret is located.
environment
string
requiredThe slug of the environment where the secret is located
tagSlugs
string[]
requiredAn array of existing tag slugs to attach to the secret.
secretPath
string
default: /The path of the secret to attach tags to.
type
enum<string>
default: sharedThe type of the secret to attach tags to. (shared/personal)
Available options:
shared
, personal
Response
200 - application/json
secret
object
requiredWas this page helpful?