Generate a new token for Gitlab webhooks
POST
/v1/apps/{org_uuid}/gitlab/webhook/token
This generates a new token to see it once for an organization meant
to be used with Gitlab webhooks.
If it is called multiple times, a new token is generated.
Returned tokens are not stored in plain text so they cannot be
recovered.
Only admin members or API keys can perform this operation.
See https://docs.gitlab.com/user/project/integrations/webhooks for details.
Authorizations
apiKey
API key as username in Basic Authorization with
empty password.
TypeAPI Key (header: Authorization)
or
jwtToken
TypeHTTP (bearer)
Parameters
Path Parameters
org_uuid*
UUID of the organization
Typestring
Requiredformat
"uuid"Responses
Gitlab webhook token generated
application/json
JSON
{
"created_at": "string",
"token": "string",
"receiver_url": "https://api.stg.terramate.io/v1/apps/gitlab/webhook"
}