Oidctoken - Create
POST https://dev.azure.com/{organization}/{scopeIdentifier}/_apis/distributedtask/hubs/{hubName}/plans/{planId}/jobs/{jobId}/oidctoken?api-version=7.2-preview.1
POST https://dev.azure.com/{organization}/{scopeIdentifier}/_apis/distributedtask/hubs/{hubName}/plans/{planId}/jobs/{jobId}/oidctoken?serviceConnectionId={serviceConnectionId}&api-version=7.2-preview.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
hub
|
path | True |
string |
The name of the server hub. Common examples: "build", "rm", "checks" |
job
|
path | True |
string uuid |
|
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
plan
|
path | True |
string uuid |
|
scope
|
path | True |
string uuid |
The project GUID to scope the request |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '7.2-preview.1' to use this version of the api. |
service
|
query |
string uuid |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
accessToken
Personal access token. Use any value for the user name and the token as the password.
Type:
basic
Definitions
TaskHubOidcToken
Name | Type | Description |
---|---|---|
oidcToken |
string |