applications

Renew an application secret

Renew the secret of a specific application

post/api/v4/applications/{id}/renew-secret

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idinteger required

The ID of the application (not the application_id)

Response

Renew an application secret

idinteger required
application_idstring required
application_namestring required
callback_urlstring required
confidentialboolean required
secretstring required

Example response

{
  "id": 1,
  "application_id": "5832fc6e14300a0d962240a8144466eef4ee93ef0d218477e55f11cf12fc3737",
  "application_name": "MyApplication",
  "callback_url": "https://redirect.uri",
  "confidential": true,
  "scopes": [
    "api",
    "read_user"
  ],
  "secret": "ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.