Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddGitLabProvider

Add a new GitLab identity provider in the organization

POST
/management/v1/idps/gitlab

Request Body

application/json
  1. body
name?name

GitLab will be used as default, if no name is provided

clientId?client_id
clientSecret?client_secret
scopes?array<string>
providerOptions?

Response Body

Success

application/json
  1. response
details?
id?id
Example Request
curl -X POST 'https://example.com/management/v1/idps/gitlab' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  },  "id": "string"}

Was this page helpful?