AddSecret
Add a Users Secret
Generates a client secret for the user. The client id is the users username. If the user already has a secret, it is overwritten. Only users of type machine can have a secret.
Required permission:
- user.write
curl -X POST "https://loading/v2/users/string/secret"{
"creationDate": "1s",
"clientSecret": "string"
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?