All Products
Search
Document Center

MaxCompute:DeleteRole

Last Updated:May 29, 2026

Deletes a project-level role in MaxCompute.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

DELETE /api/v1/projects/{projectName}/roles/{roleName} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

projectName

string

Yes

The name of the project.

odps_project

roleName

string

Yes

The name of the role.

admin

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

The response object.

requestId

string

The request ID.

0adb901117579891946416405d0409

data

string

The returned data. A value of success indicates that the operation succeeded.

success

Examples

Success response

JSON format

{
  "requestId": "0adb901117579891946416405d0409",
  "data": "success"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.