Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddGitLabSelfHostedProvider

Add a new self hosted GitLab identity provider in the organization

POST
/management/v1/idps/gitlab_self_hosted

Request Body

application/json
  1. body
issuer?issuer
name?name
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_self_hosted' \  -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?