Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ab79dbb5
Commit
ab79dbb5
authored
Aug 19, 2020
by
Mike Jang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sub gitlab.example.com for example.gitlab.com
parent
e98c7efb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/api/scim.md
doc/api/scim.md
+5
-5
No files found.
doc/api/scim.md
View file @
ab79dbb5
...
...
@@ -35,7 +35,7 @@ Pagination follows the [SCIM spec](https://tools.ietf.org/html/rfc7644#section-3
Example request:
```
shell
curl
'https://
example.gitlab
.com/api/scim/v2/groups/test_group/Users?filter=id%20eq%20"0b1d561c-21ff-4092-beab-8154b17f82f2"'
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
curl
'https://
gitlab.example
.com/api/scim/v2/groups/test_group/Users?filter=id%20eq%20"0b1d561c-21ff-4092-beab-8154b17f82f2"'
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
```
Example response:
...
...
@@ -86,7 +86,7 @@ Parameters:
Example request:
```
shell
curl
"https://
example.gitlab
.com/api/scim/v2/groups/test_group/Users/f0b1d561c-21ff-4092-beab-8154b17f82f2"
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
curl
"https://
gitlab.example
.com/api/scim/v2/groups/test_group/Users/f0b1d561c-21ff-4092-beab-8154b17f82f2"
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
```
Example response:
...
...
@@ -130,7 +130,7 @@ Parameters:
Example request:
```
shell
curl
--verbose
--request
POST
"https://
example.gitlab
.com/api/scim/v2/groups/test_group/Users"
--data
'{"externalId":"test_uid","active":null,"userName":"username","emails":[{"primary":true,"type":"work","value":"name@example.com"}],"name":{"formatted":"Test User","familyName":"User","givenName":"Test"},"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"meta":{"resourceType":"User"}}'
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
curl
--verbose
--request
POST
"https://
gitlab.example
.com/api/scim/v2/groups/test_group/Users"
--data
'{"externalId":"test_uid","active":null,"userName":"username","emails":[{"primary":true,"type":"work","value":"name@example.com"}],"name":{"formatted":"Test User","familyName":"User","givenName":"Test"},"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"meta":{"resourceType":"User"}}'
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
```
Example response:
...
...
@@ -184,7 +184,7 @@ Parameters:
Example request:
```
shell
curl
--verbose
--request
PATCH
"https://
example.gitlab
.com/api/scim/v2/groups/test_group/Users/f0b1d561c-21ff-4092-beab-8154b17f82f2"
--data
'{ "Operations": [{"op":"Add","path":"name.formatted","value":"New Name"}] }'
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
curl
--verbose
--request
PATCH
"https://
gitlab.example
.com/api/scim/v2/groups/test_group/Users/f0b1d561c-21ff-4092-beab-8154b17f82f2"
--data
'{ "Operations": [{"op":"Add","path":"name.formatted","value":"New Name"}] }'
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
```
Returns an empty response with a
`204`
status code if successful.
...
...
@@ -207,7 +207,7 @@ Parameters:
Example request:
```
shell
curl
--verbose
--request
DELETE
"https://
example.gitlab
.com/api/scim/v2/groups/test_group/Users/f0b1d561c-21ff-4092-beab-8154b17f82f2"
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
curl
--verbose
--request
DELETE
"https://
gitlab.example
.com/api/scim/v2/groups/test_group/Users/f0b1d561c-21ff-4092-beab-8154b17f82f2"
--header
"Authorization: Bearer <your_scim_token>"
--header
"Content-Type: application/scim+json"
```
Returns an empty response with a
`204`
status code if successful.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment